Don't ever return BASELINE from gtk_widget_get_halign
authorAlexander Larsson <alexl@redhat.com>
Mon, 16 Sep 2013 10:33:56 +0000 (12:33 +0200)
committerAlexander Larsson <alexl@redhat.com>
Mon, 16 Sep 2013 10:33:56 +0000 (12:33 +0200)
commit247c4cecfc22c9ee73ad98c3eb796efc91c217b5
treef7722b14e36d3a2047767b88beba90d8bacef638
parent310179176ccbca609aad3174f6714b4abb04748b
Don't ever return BASELINE from gtk_widget_get_halign

This is the same behaviour as gtk_widget_get_valign, except
we have no gtk_wiget_get_halign_with_baseline, as baselines make
no sense for halign.

Without this some widgets (like e.g. GtkOverlay) crash if you accidentally
set a BASELINE halign.
gtk/gtkwidget.c